<template>
  <div class="top-filter-wrapper">
    <div class="left-circle-wrapper"></div>
    <div class="title-wrapper">{{title}}</div>
    <div class="filter-wrapper">
      <slot></slot>
    </div>
    <!--<div class="divider-line"></div>-->
  </div>
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        default:'图表名称'
      }
    },
    components: {},
    data () {
      return {
        radio: '1',
        valueYear: '',
        valueDistrict: '',
        hospitalValue: '',
        medicalTypeValue: '',
        checkedHospitalList: []
      };
    },
    methods: {
      dropDownIsVisible(visible){
        console.log(visible)
      }
    }
  }
</script>

<style lang="scss">

  .top-filter-wrapper {
    line-height: 34px;
    height: 34px;
    width: 100%;
    padding-right: 5px;
    box-sizing: border-box;
  }

  .filter-wrapper {
    float: right;
    .radio-content-wrapper {
      display: inline-block;
      margin-right: 10px;
    }

  }

  .divider-line {
    height: 1px;
    background: #f4f4f4;
    width: 100%;
  }

  .left-circle-wrapper {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #018DDE;
    display: inline-block;
    margin-left: 10px;
  }

  .title-wrapper {
    display: inline-block;
    font-size: 14px;
    margin-left: 5px;
  }

  .district-content-wrapper {
    width: 80px;
    display: inline-block;
    margin-right: 10px;
  }

  .el-input__inner {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 30px;
    line-height: 30px;
    outline: 0;
    padding: 0 5px;
    -webkit-transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
    transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
    width: 100%;
  }

  .el-popper[x-placement^=bottom] {
    margin-top: 10px;
  }

  .hospital-level-children-wrapper {
    width: 200px;
    height: 200px;
  }

  .el-radio + .el-radio {
    margin-left: 10px;
  }
</style>
